//
//  HeadViewController.m
//  Game2048
//
//  Created by mis on 16/3/25.
//  Copyright © 2016年 mis. All rights reserved.
//

#import "HeadViewController.h"
#import "HeadView.h"

@interface HeadViewController ()
@property (nonatomic, strong) HeadView *headView;
@end

@implementation HeadViewController

- (HeadView *)headView {
    if (!_headView) {
        _headView = [[HeadView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 60)];
//        _headView.leftMenuBtn addTarget:self action:@selector(<#selector#>) forControlEvents:<#(UIControlEvents)#>
        [_headView.refeshBtn addTarget:self action:@selector(refreshBtnClick) forControlEvents:UIControlEventTouchUpInside];
        
    }
    return _headView;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view addSubview:self.headView];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}

- (void)refreshBtnClick {
    NSLog(@"headViewController refreshBtnClick");
}

@end
